package com.os.ch1;


import org.springframework.stereotype.Service;

/**
 * @service 注解声明当前FunctionService类是spring管理的以恶Bean
 */

@Service
public class FunctionService {

    public String sayHello(String word){
        return "Hello " + word + " !";
    }
}
